﻿Create proc usp_Dangkychuyendi
@ngay Datetime
as
begin tran
	set tran isolation level read uncommitted
	begin try
	   select * from DangKy where NgayDi = @ngay
	end try
	begin catch
		declare @error varchar(1000)
		set @error = N'Lỗi: ' + error_message()
		raiserror (@error,16,1)
		rollback tran
		return
	end catch
commit tran
